Guzzle\Http\Message\Response C

Total Complexity 117
Dependencies 12
Dependents 58
Total lines 952
Lines of code 320
Logical lines of code 152
Comment lines 393
Methods 68
Properties 7

Methods 68

Method Rating Maintainability Complexity Lines of code
canCache()
A
58 10 13
xml()
S
54 5 21
__construct()
S
59 5 14
getMaxAge()
S
60 5 14
fromMessage()
S
57 4 15
isMethodAllowed()
S
62 4 11
calculateAge()
S
67 4 7
isSuccessful()
S
77 3 3
json()
S
67 3 7
getInfo()
S
66 3 9
getFreshness()
S
72 3 5
setStatus()
S
65 3 9
isServerError()
S
79 2 3
isClientError()
S
79 2 3
isError()
S
79 2 3
isRedirect()
S
79 2 3
getBody()
S
79 2 3
getRawHeaders()
S
66 2 8
isFresh()
S
75 2 4
getMessage()
S
67 2 8
canValidate()
S
79 2 3
getVia()
S
80 1 3
getServer()
S
80 1 3
setRequest()
S
76 1 4
getSetCookie()
S
80 1 3
getTrailer()
S
80 1 3
getTransferEncoding()
S
80 1 3
getVary()
S
80 1 3
getRedirectCount()
S
80 1 3
getWarning()
S
80 1 3
getWwwAuthenticate()
S
80 1 3
isInformational()
S
80 1 3
setEffectiveUrl()
S
77 1 4
getPreviousResponse()
S
76 1 4
getEffectiveUrl()
S
82 1 3
getProxyAuthenticate()
S
80 1 3
getRetryAfter()
S
80 1 3
getEtag()
S
80 1 3
getPragma()
S
80 1 3
getAllow()
S
80 1 3
__toString()
S
81 1 3
serialize()
S
69 1 7
unserialize()
S
74 1 4
setBody()
S
76 1 4
setProtocol()
S
74 1 5
getProtocol()
S
82 1 3
getProtocolVersion()
S
82 1 3
setInfo()
S
77 1 4
getStatusCode()
S
82 1 3
getReasonPhrase()
S
82 1 3
getAcceptRanges()
S
80 1 3
getAge()
S
80 1 3
getCacheControl()
S
80 1 3
getLocation()
S
80 1 3
getConnection()
S
80 1 3
getContentEncoding()
S
80 1 3
getContentLanguage()
S
80 1 3
getContentLength()
S
79 1 3
getContentLocation()
S
80 1 3
getContentDisposition()
S
80 1 3
getContentMd5()
S
80 1 3
getContentRange()
S
80 1 3
getContentType()
S
80 1 3
isContentType()
S
78 1 3
getDate()
S
80 1 3
getExpires()
S
80 1 3
getLastModified()
S
80 1 3
getRequest()
S
76 1 4